Skip to main content

Transporter Extraction

transport_task_main_details

ColumnTypeDescription
transport_task_main_detail_idint64Primary key of the transport task (transport_tasks.id).
business_group_idint64Business group id (via tenancy → company → business_group_id).
tenancy_idint64Tenant id (organizational unit / department in the app; row in tenancies) the task belongs to.
driver_collaborator_idint64Driver (collaborator) id on the task group (transport_task_groups.driver_collaborator_id).
vehicle_idint64Vehicle id used on the route (transport_task_groups.vehicle_id).
customer_company_idint64Customer company id (generator / collection side).
recycler_company_idint64Recycler / destination company id.
transporter_company_idint64Carrier company id responsible for the task group.
customer_company_namestringCustomer trade name (alias_name).
customer_company_cpf_cnpjstringCustomer company tax id (CPF/CNPJ) as stored.
formatted_customer_company_cpf_cnpjstringCustomer company tax id formatted for display.
customer_company_statestringCustomer state (UF) from the main address.
customer_company_citystringCustomer city from the main address.
recycler_company_namestringRecycler trade name.
recycler_company_cpf_cnpjstringRecycler tax id as stored.
formatted_recycler_company_cpf_cnpjstringRecycler tax id formatted.
transporter_company_namestringCarrier trade name.
transporter_company_cpf_cnpjstringCarrier tax id as stored.
formatted_transporter_company_cpf_cnpjstringCarrier tax id formatted.
contract_numberstringContract identifier (contract_identification).
transport_route_namestringTransport route name linked to the task group.
task_type_namestringTransport task type name.
task_type_descriptionstringTask type description.
current_statestringCurrent task state type (currentTransportTaskState.type).
task_typestringTask type record type field.
task_subtypestringTask subtype.
task_recurrence_typestringGroup recurrence frequency (system_recurrence.frequency_type).
task_recurrence_descriptionstringHuman-readable recurrence rule (from MakeSystemRecurrenceDescriptionAction).
status_mtrsstringDisposal status rendered as text (e.g. in transit, received — wording follows app locale in the DTO).
waste_movement_idsstringComma-separated waste movement ids from the linked disposal, if any.
mtrsstringMTR (waste transport manifest) codes tied to the disposal, prefixed by schema (e.g. SIGOR-12345).
schemasstringManifest schemas (integration source) for waste transport manifests.
current_total_packingdoubleTotal packings in the current state (sum of transporter packing quantities, rounded up).
waste_total_kg_quantitydoubleTotal waste mass in kg for items in the current state (excludes “not executed” lines).
task_type_is_defaultbooleanWhether the task type is a global default (true when the type has no tenancy_id).
task_is_urgentbooleanWhether the task is flagged urgent in configuration.
is_next_on_groupbooleanWhether this is the next task in the group.
is_under_processingbooleanWhether the task is under processing (special rules in extraction).
is_recurrence_basebooleanWhether the group is a recurrence base (extraction usually filters is_recurrence_base = false).
downloaded_from_app_atdateTimeWhen the record was downloaded to the carrier mobile app.
uploaded_from_app_atdateTimeWhen data was uploaded from the app.
current_executed_atdateTimeExecution timestamp for the current task state.
updated_atdateTimeLast update of the task at source.
deleted_atdateTimeSoft delete timestamp of the task.

transport_task_state_item_details

Columns are grouped by logical type (Parquet: int64 / string / double / boolean / dateTime).

ColumnTypeDescription
transport_task_state_item_detail_idint64Synthetic key: numeric concatenation of transport_task_id and the item index (lakehouse-specific id).
transport_task_main_detail_idint64Parent transport task id (transport_tasks.id).
tenancy_idint64Tenant id (organizational unit / department; tenancies.id) for the task.
business_group_idint64Business group id (via tenant → company).
indexint64Item order within the task (TransportTaskStateItem index).
programming_waste_idint64Waste id referenced on the transport content (programming).
programming_packing_idint64Transporter packing id (programming).
justification_waste_idint64Waste id (justification).
justification_packing_idint64Packing id (justification).
not_execution_waste_idint64Waste id (not execution).
not_execution_packing_idint64Packing id (not execution).
solicitation_waste_idint64Waste id (solicitation).
solicitation_packing_idint64Packing id (solicitation).
confirmation_waste_idint64Waste id (confirmation).
confirmation_packing_idint64Packing id (confirmation).
item_current_statestringTask current state type at build time (mirrors the task’s current state).
deviationstringDeviation in minutes between scheduled and actual times (capped at 24h in some cases); see getItemDeviation in the DTO.
justification_item_typestringJustification type when the item state is Justification (justification_type).
programming_addressstringStreet line of the address on the state (programming).
justification_addressstringStreet line (justification).
not_execution_addressstringStreet line (not execution).
solicitation_addressstringStreet line (solicitation).
confirmation_addressstringStreet line (confirmation).
justification_item_observationstringFree-text note in the Justification state (observation).
not_execution_justificationstringNote when the state is Not execution (observation).
programming_packing_quantitydoublePacking quantity (programming).
programming_packing_tare_weightdoublePacking tare weight in kg (programming).
programming_waste_quantitydoubleWaste quantity in the content unit (programming).
programming_waste_kg_quantitydoubleWaste quantity in kg (programming).
programming_waste_gross_quantitydoubleGross waste quantity (programming).
justification_packing_quantitydoublePacking quantity (justification).
justification_packing_tare_weightdoublePacking tare weight (justification).
justification_waste_quantitydoubleWaste quantity (justification).
justification_waste_kg_quantitydoubleWaste quantity in kg (justification).
justification_waste_gross_quantitydoubleGross waste quantity (justification).
not_execution_packing_quantitydoublePacking quantity (not execution).
not_execution_packing_tare_weightdoubleTare weight (not execution).
not_execution_waste_quantitydoubleWaste quantity (not execution).
not_execution_waste_kg_quantitydoubleWaste quantity in kg (not execution).
not_execution_waste_gross_quantitydoubleGross waste quantity (not execution).
solicitation_packing_quantitydoublePacking quantity (solicitation).
solicitation_packing_tare_weightdoubleTare weight (solicitation).
solicitation_waste_quantitydoubleWaste quantity (solicitation).
solicitation_waste_kg_quantitydoubleWaste quantity in kg (solicitation).
solicitation_waste_gross_quantitydoubleGross waste quantity (solicitation).
confirmation_packing_quantitydoublePacking quantity (confirmation).
confirmation_packing_tare_weightdoubleTare weight (confirmation).
confirmation_waste_quantitydoubleWaste quantity (confirmation).
confirmation_waste_kg_quantitydoubleWaste quantity in kg (confirmation).
confirmation_waste_gross_quantitydoubleGross waste quantity (confirmation).
is_not_executedbooleantrue when the line justification is not executed.
programming_datedateTimeState executed-at timestamp (programming).
justification_datedateTimeState executed-at (justification).
not_execution_datedateTimeState executed-at (not execution).
solicitation_datedateTimeState executed-at (solicitation).
confirmation_datedateTimeState executed-at (confirmation).
updated_atdateTimeLast update of the task state (transport_task_states.updated_at) used for this row.
deleted_atdateTimeSoft delete of the task state (transport_task_states.deleted_at).